/*
* @Author: dyiwen
* @Date:   2020-09-17 16:36:01
* @Last Modified by:   dyiwen
* @Last Modified time: 2020-09-17 23:28:24
 */
package main

import (
	"fmt"

	"github.com/modood/table"
)

type House struct {
	Dataid string
	Group  string
	Motto  string
}

func main() {
	s := []House{
		{"Stark", "direwolf", "1"},
		{"Targaryen", "dragon", ""},
		{"Lannister", "aaaa", ""},
	}

	t := table.Table(s)

	fmt.Println(t)
}
